{% extends "base.html" %}
{% block content %}
    <div class="row">
        {% for post in posts %}
        <div class="col-md-12">
            <p>
                <img src="{{ url_for('static', filename='uploads/weather.png') }}"style="max-width: 30px;">
                {{ post['dateTime']}}：<br>
                {{ post['weatherType'] }},
                能见度: {{ post['visibility'] }}m,
                温度: {{ post['temperature'] }}°C,
                小时降水量: {{ post['rainHourly'] }}mm,
                平均风速: {{ post['windSpeedAvg'] }}km/h,
                相对湿度: {{ post['relativeHumidity'] }}%
                {{ post['alert'] }}
            </p>
        </div>
        {% if not loop.last %}
        <hr>
        {% endif %}
        {% endfor %}
    </div>
{% endblock %}